# -*- coding: utf-8 -*-

# import json
# import time
#
# # 获取登录的cookie携带cookie直接访问购物车界面
# from selenium import webdriver
# from selenium.webdriver.common.by import By
#
# driver = webdriver.Chrome()
# driver.maximize_window()
# driver.get('https://login.taobao.com/member/login.jhtml')
#
# # 扫码登录
# input('扫码登录，回车')
# cookies = driver.get_cookies()
#
# # cookie进行保存
# json_cooke = json.dumps(cookies) # 将python对象转换成json格式的字符串
# # with open('taobao.json', 'w')as f:
# #     f.write(json_cooke)  # 获取cookie保存到文件当中
#
# # 先清除原有的cookie
# driver.delete_all_cookies()
# # 加载cookie文件
# with open('taobao.json', 'r', encoding='utf-8')as f:
#     cookies = json.loads(f.read())
#
#
# # 组合cookie
# for cookie in cookies:  # cookies 是一个列表类型  cookie是一个字典
#     # selenium
#     driver.add_cookie({
#         'domain':'taobao.com',
#         'name': cookie['name'],
#         'value': cookie['value'],
#         'path': '/',
#         'expires': None
#     })
#
# time.sleep(2)
# driver.get('https://cart.taobao.com/cart.htm?spm=tbpc.mytb_index.1997525049.1.6db2782dqABGu0&from=mini&ad_id=&am_id=&cm_id=&pm_id=1501036000a02c5c3739')


a = input('请输入第一个数字:')
b = input('请输入第二个数字:')
print(int(a)+int(b))

